<!DOCTYPE html>
<style>
.container {
    display: inline-block;
    background-color: red;
}

.container::before {
    content: '';
}

</style>

<div class="container">
    <input style="background: green;">
</div>

<p>Test for http://crbug.com/445243.</p>
<p>The test PASSES if you see 1 green input box and no red square.</p>
